// 所有关于学员的接口
import request from '../utils/request'
// 获取学员列表的接口
export const getStudentApi = function (data) {
  return request("/VueHandler/AdminHandler?action=usershow", data, "post")
}
// 添加学员接口
export const addStudentApi = function (data) {
  return request("/VueHandler/AdminHandler?action=adduser", data, "post")
}
// 冻结解冻接口
export const lockUserApi = function (tokenId) {
  return request("/VueHandler/AdminHandler?action=lockuser", { tokenId: tokenId }, "get")
}